using System;
using System.Text;

using Peradigm.Framework.Domain.Security;
using Peradigm.Framework.Persistence;
using Peradigm.Framework.Domain.Parties;
using Liberty.Domain.DocumentManagement;

namespace Liberty.Domain.DocumentManagement
{
    [Serializable]
    public class Document : PersistentModel
    {
        #region Constants
        #endregion

        #region Event Handlers
        #endregion

        #region Methods
        /// <summary>
        /// Creates a stubbed document populated with frequently used primitives.
        /// Other aggregated objects are not populated by this factory method.
        /// </summary>
        /// <returns></returns>
        public static Document TestInstance()
        {
            Document stub = new Document();
            stub.DocumentName = "Some important document.docx";

            return stub;
        }
        #endregion

        #region Properties

        public string DocumentName
        {
            get
            {
                return i_DocumentName;
            }
            set
            {
                i_DocumentName = value;
            }
        }

        public string Path
        {
            get
            {
                return i_Path;
            }
            set
            {
                i_Path = value;
            }
        }

        public DocumentType DocumentType
        {
            get
            {
                return i_DocumentType;
            }
            set
            {
                i_DocumentType = value;
            }
        }
	
        #endregion

        #region Private Methods
        #endregion

        #region Private Properties
        #endregion

        #region Construction and Finalization
        public Document()
        {
        }
        #endregion

        #region Data Elements
        private string i_DocumentName;
        private string i_Path;
        private DocumentType i_DocumentType;

        #endregion

    }//end Document

}//end namespace DocumentManagement